﻿using QRCoder;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace LibraryMIS
{
    public partial class AboutUS : Form
    {
        public AboutUS()
        {
            InitializeComponent();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void AboutUS_Load(object sender, EventArgs e)
        {
            QRCodeGenerator qr = new QRCodeGenerator();
            var str = "柳职2019软件技术2班荣誉出品";
            var myQRCode = qr.CreateQrCode(str, QRCodeGenerator.ECCLevel.H);
            var code = new QRCode(myQRCode);
            pBoxQR.Image = code.GetGraphic(50);
        }
    }
}
